import request from '../request'

// 获取用户信息的接口请求
export const userInfo = (data) => {
  return request({
    url: 'personal/userinfo',
    method: 'get',
    data
  })
}
// 获取菜单的接口
export const menuTree = (data) => {
  return request({
    url: 'personal/menuTree',
    method: 'get',
    data
  })
}